package com.oracle.service.imple;

import com.oracle.dao.ShoppoingCartMapper;
import com.oracle.pojo.ShoppoingCart;
import com.oracle.service.ShoppingCartService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ShoppingCartServiceImpl implements ShoppingCartService {
    @Autowired
    private ShoppoingCartMapper shoppoingCartMapper;
    @Override
    public List<ShoppoingCart> findByUid(Integer id) {
        return shoppoingCartMapper.selectByUid(id);
    }
}
